package com.db.patterns.protocol;

import com.db.patterns.command.Command;

/**
 * @author nulls.narik
 */
public interface Protocol {

    Object serialize(Command command);

    Command parse(Object message);

}
